<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0" />
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="*ADMIN*/admin/lib/layui/css/layui.css">
	<link href="*ADMIN*/css/default.css" rel="stylesheet">
	<script src="*ADMIN*/js/jquery-3.4.1.min.js"></script>
    <script src="/public/admin/lib/layui/layui.js"></script>
    <link rel="stylesheet" href="*INDEX*/css/bootstrap.min.css?v0.01">
    <link rel="stylesheet" type="text/css" href="*INDEX*/css/uid.css?v=0.11" />
    {:hook('userheader')}
</head>
<body class="indexx">
    <main class="main pb-20">
        <div class="header-image">
            <div class="js-parallax"></div>
        </div>
        <div class="container gutter-top">
            <!-- Header -->
            <header class="header_uid box">
                <div class="header__left">
                    <div class="header__photo">
                        <img class="header__photo-img" src="{:user('userhead')}" alt="{:user('username')}">
                    </div>
                    <div class="header__base-info">
                        <h4 class="title titl--h4">{:user('username')}</h4>
                        <ul class="header__social">
                            <li>
                                <div class="addqa">余额：{:user('point')}{:set('jifen',2)}</div>
                            </li>
                            <li>
                                <a href="{:url('index/user/uid',array('id'=>user('userid')))}" class="addqun" target="_blank">我的主页</a>
                            </li>
                            <li>
                                <a  url="{:url('index/api/logout')}" name="确实要退出登录吗" href="javascript:;" class="add-listing dark-bg del_t">退出</a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="header__right">
                    <div class="status">{:dingyi(user('description'),'没有任何介绍')}</div>
                </div>
            </header>
            <div class="row sticky-parent">
                <aside class="col-12 col-md-12 col-lg-2">
                    <div class="sidebar box sticky-column">
                        <ul class="nav fanhui">
                            <li class="nav__item">
                                <a href="/" target="_blank">
                                    <i class="iconfont">&#xe603;</i>
                                    返回首页
                                </a>
                            </li> 
                            <li class="nav__item">
                                <a {if strpos(get_url(), 'set') !== false}class="active"{/if} href="{:url('index/user/set')}">
                                    <i class="iconfont">&#xe601;</i>
                                    基本设置
                                </a>
                            </li>
                            <li class="nav__item">
                                <a {if strpos(get_url(), 'content') !== false}class="active"{/if} href="{:url('index/user/content')}">
                                    <i class="iconfont">&#xe6fe;</i>
                                    个人中心
                                </a>
                            </li> 
                            <li class="nav__item">
                                <a {if strpos(get_url(), 'jifen') !== false}class="active"{/if} href="{:url('index/user/jifen')}">
                                    <i class="iconfont">&#xe605;</i>
                                    {:set('jifen',2)}管理
                                </a>
                            </li> 
                            <li class="nav__item">
                                <a href="javascript:;" id="gengduo">
                                    <i class="iconfont">&#xe6e7;</i>
                                    更  多
                                </a>
                            </li> 
                        </ul>
                        <ul class="nav genduo" style="display:none;">
                            <li class="nav__item">
                                <a {if strpos(get_url(), 'add') !== false}class="active"{/if} href="{:url('index/user/add')}">
                                    <i class="iconfont">&#xe71f;</i>
                                    发布内容
                                </a>
                            </li> 
                            <!--会员中心菜单钩子-->
                            {:hook('userheadernav')}
                            <li class="nav__item">
                                <a href="javascript:;" id="fanhui">
                                    <i class="iconfont">&#xe65b;</i>
                                    返回
                                </a>
                            </li> 
                        </ul>
                    </div>
                </aside>